<?php
require('./Header.php');
$host = "localhost";
$username = "root";
$password = "root";
$table = "bookshop";
$db = new mysqli($host, $username, $password, $table);

if ($db->connect_error) {
  exit("数据库连接失败!");
} else {
  echo "<h1 class='text-green-700 text-2xl text-center'>数据库连接成功～</h1>";
}
?>